import React, { useEffect, useState } from "react";
import { Outlet } from "react-router-dom";
import Header from "../components/Header";
import Content from "./Content";
// 配置PDF.js的worker文件
type propsTypes = {};
function Home(props: propsTypes) {
  useEffect(() => {
    return () => {
      console.log("----你好");

    }
  }, [])
  return (
    <div className="w-screen h-screen flex flex-col">
      <Header />
      <div className="flex flex-1 flex-row justify-center bg-slate-100 pt-1">
        <Content />
      </div>
    </div>
  );
}

export default Home;
